package com.contactbook.web.client.gwt;

import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.ComplexPanel;
import com.google.gwt.user.client.ui.Widget;

public class OrderedList extends ComplexPanel {
    public OrderedList() {
            setElement(DOM.createElement("OL"));
    }

    public void add(Widget widget) {
            super.add(widget, getElement());
    }

    public void insert(Widget widget, int beforeIndex) {
            super.insert(widget, getElement(), beforeIndex, true);
    }

} 